@import '../../../res/theme/xxhz.scss';

.swiper-container-wrapper{
  height: auto;
}

.distributor {
  min-height: 100vh;
  .subNav {

    .nav-box {
      display: flex;
      .img-wrapper{
        padding-left: 40px;
      }
      .img-wrapper:last-child{
        margin-right: 40px;
      }
    }
  }
  .customData-height{
    height: calc(env(safe-area-inset-bottom) + 130px);
  }
  #html-description img,image{
    max-width: 100%;
  }
  background: #fff;
  .posters-swiper-promote{
    .posters-swiper-promote-custom{
      height: 100%;
    }
    .swiper-slide-duplicate{
      visibility: hidden;
    }
    .swiper-wrapper{
      transform: translate3d(0, 0, 0);
    }
  }
  .history-back {
    width: 36Px;
    height: 36Px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 99;
  }

  .posters-swiper {
    height: 100%;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .posters-swiper-invite {
    padding-bottom: calc(env(safe-area-inset-bottom) + 220px);
  }

  .share-lead {
    position: fixed;
    background: rgba(0, 0, 0, .5);
    z-index: 5000;
    width: 100%;
    height: 100%;
    top: 0;

    .save-img {
      display: flex;
      align-items: center;
    }

    .img1 {
      position: fixed;
      top: -120px;
      z-index: 7777;
      right: 0;

      .img, .taro-img, image {
        width: 600px;
        height: 500px;
      }
    }

    .img2 {
      position: fixed;
      top: 400px;
      z-index: 7777;
      right: 0;

      .img, .taro-img, image {
        width: 600px;
        height: 200px;
      }
    }

    .img3 {
      position: fixed;
      z-index: 7777;
      top: 620px;
      right: 100px;

      .img, .taro-img, image {
        width: 400px;
        height: 100px;
      }
    }
  }

  .m-r-10 {
    margin-right: 10px;
    position: relative;
    top: 4px;
  }

  .share-button {
    background: transparent;
    border: none;
    line-height: inherit;
    padding: 0;
    margin: 0;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .share-button::after {
    border: none;
  }

  &-bg {
    width: 100%;
    padding-bottom: 20%;
    min-height: 100%;
  }

  &-title {
    background-color: rgba(0, 0, 0, .5);
    padding: 11px 28px;
    border-radius: 30px;
    position: absolute;
    top: 514px;
    left: 30px;
    justify-content: center;
    align-items: center;
    display: inline-block;
    line-height: 30px;

    &-img {
      width: 36px;
      height: 36px;
      vertical-align: middle;
      margin-right: 15px;
    }

    &-text {
      color: #fff;
      font-size: 20px;
      vertical-align: middle;
    }

    .yellow {
      color: #ffdb0c;
    }
  }

  &-footer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #fff;
    border-top: 1Px solid #d6d6d6;
    position: fixed;
    height: 100px;
    padding: 20px 0;
    bottom: 0;
    left: 0;
    width: 100%;

    .red {
      background-color: #ff4b3a;
      color: #fff;
    }

    .yellow {
      background-color: #ffdd09;
    }

    &-btn {
      width: 40%;
      height: 75px;
      font-size: 28px;
      border-radius: 50px;
      text-align: center;
      line-height: 75px;
    }

    .m-r-50 {
      margin-right: 50px;
    }
  }
}

.posters-head {
  text-align: center;
  padding: 48px 0;
  font-size: 36px;
  padding-bottom: 20px;
}

.w-60 {
  width: 60% !important;
  height: 100%;
  text-align: center;
}

.posters-swiper-images {
  width: 240Px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  border-radius: 15px;
  img{
    height: 100%;
  }
}

._swiper-small {
  height: 417px !important;
}

.p-lr-20 {
  padding: 0 20px;
}

.swiper-item {
  border-radius: 30px;
}

.swiper-item-group {
  position: relative;
  height: 100%;
  left: 127px;
}

.float-layout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
}
.invite-frient-float-layout{
  .float-layout-bottom{
    max-height: 90vh;
    height: -webkit-fill-available;
  }
  .test-h{
    height: 100%;
  }
  .swiper-item-small{
    height: initial !important;
  }
}
.distributor-float-layout {
  .listNull {
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;
    }

    .text {
      font-size: 24px;
      color: #666;
      line-height: 1.5;
    }
  }
}

.float-layout-bottom {
  width: 100%;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  margin-top: 100px;
  left: 0;
  z-index: 9999;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.swiper-item-group-footer-btn {
  height: 88px;
  line-height: 88px;
  width: 90%;
  border-radius: 50px;
  background-color: #fcd202;
  font-size: 30px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-item-group-footer {
  position: fixed;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  padding: 64px 0;
}
